home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / winter_challenge.swf / scripts / frame_116 / DoAction.as
Text File  |  2011-08-19  |  1KB  |  57 lines

  1. function startLevelLoop()
  2. {
  3.    _root.level1_ice.start(0,9999);
  4. }
  5. _quality = "HIGH";
  6. _root.ATVclip.curveSpeed = temp_curveSpeed;
  7. _root.ATVclip.maxspeed = temp_maxspeed;
  8. _root.ATVclip.reverseSpeed = temp_reverseSpeed;
  9. _root.ATVclip.breakpower = temp_breakpower;
  10. _root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
  11. _root.ATVclip.acceleration = temp_acceleration;
  12. redTire_cheat = 0;
  13. userScore_const = score;
  14. track_1_grafik.gotoAndStop(1);
  15. track_1.gotoAndStop(1);
  16. eisplatteShaddow._visible = 1;
  17. _root.ATV_keyBlock = 1;
  18. _root.gameInProgress = 0;
  19. _root.hitpoints = 100;
  20. _root.ATV_statsBar.resetBar();
  21. courseDisplay = 4;
  22. course = "course4";
  23. lap = 1;
  24. lapCheatflag_A = 0;
  25. lapCheatflag_B = 0;
  26. lapCheatflag_C = 0;
  27. _root.temp_global_landmark_count = _root.global_landmark_count;
  28. _root.landmark_count = 0;
  29. activeLandmark = _root.landmark_1;
  30. i = 1;
  31. while(i <= 11)
  32. {
  33.    thisClip = eval("_root.landmark_" + i);
  34.    if(thisClip == activeLandmark)
  35.    {
  36.       activeLandmark.gotoAndPlay(1);
  37.    }
  38.    else
  39.    {
  40.       thisClip.gotoAndStop(1);
  41.    }
  42.    thisClip.swapDepths(760 + i);
  43.    i++;
  44. }
  45. _root.clock.gotoAndStop(1);
  46. _root.clock.clockInlay.min = "0";
  47. _root.clock.clockInlay.sec1 = "6";
  48. _root.clock.clockInlay.sec2 = "0";
  49. stopAllSounds();
  50. myStopAllSouds();
  51. updateAfterEvent();
  52. _root.global_ENTRANCE.start(0,0);
  53. _root.engineSound.myAction = "brk";
  54. help.swapDepths(10000);
  55. help.gotoAndStop(2);
  56. stop();
  57.